package com.example.livestockbreedingapplication.domain;

public class UserInfo {
    //用户id
    private String userId;
    //用户名
    private String username;
    //用户详细信息
    private String detail;

    public UserInfo(String userId, String username, String detail) {
        this.userId = userId;
        this.username = username;
        this.detail = detail;
    }

    public UserInfo() {
        super();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }
}